package com.personnel_management.service;

import com.personnel_management.pojo.Position;
import com.personnel_management.pojo.Staff;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PositionService {
    public Integer addPosition(Position position);
    public Integer deletePosition(Integer id);
    public Integer setPosition(Position position);
    public List<Position> selectAll();
    public List<Position> selectByName(String name);
    public List<Position> selectByWages(Double min,Double max);
    public List<Staff> selectStaffs(Integer id);
}
